package com.seguriapp.entities;

import java.io.Serializable;
import java.util.Date;

/**
 * Represents a Complaint entity.
 * 
 * @author Tania Gonzales(taniadgv@gmail.com)
 */
@SuppressWarnings("serial")
public class Complaint implements Serializable {

  private Long id;
  private String names;
  private String lastNames;
  private String dni;
  private String address;
  private String email;
  private String phone;
  private String description;
  private Date crimeDate;
  private Date complaintDate;
  private double crimeLongitude;
  private double crimeLatitude;
  private double complaintLongitude;
  private double complaintLatitude;
  private CrimeCategory category;
  private SeguriAppEntity policeStation;
  private int hour;
  private int minute;
  private boolean mapVisivility;
  private boolean newComplaint;

  public Long getId() {
    return id;
  }

  public String getNames() {
    return names;
  }

  public String getLastNames() {
    return lastNames;
  }

  public String getDni() {
    return dni;
  }

  public String getAddress() {
    return address;
  }

  public String getEmail() {
    return email;
  }

  public String getPhone() {
    return phone;
  }

  public String getDescription() {
    return description;
  }

  public Date getCrimeDate() {
    return crimeDate;
  }

  public Date getComplaintDate() {
    return complaintDate;
  }

  public double getCrimeLongitude() {
    return crimeLongitude;
  }

  public double getCrimeLatitude() {
    return crimeLatitude;
  }

  public double getComplaintLongitude() {
    return complaintLongitude;
  }

  public double getComplaintLatitude() {
    return complaintLatitude;
  }

  public CrimeCategory getCategory() {
    return category;
  }

  public void setId(final Long id) {
    this.id = id;
  }

  public void setNames(final String names) {
    this.names = names;
  }

  public void setLastNames(final String lastNames) {
    this.lastNames = lastNames;
  }

  public void setDni(final String dni) {
    this.dni = dni;
  }

  public void setAddress(final String address) {
    this.address = address;
  }

  public void setEmail(final String email) {
    this.email = email;
  }

  public void setPhone(final String phone) {
    this.phone = phone;
  }

  public void setDescription(final String description) {
    this.description = description;
  }

  public void setCrimeDate(final Date crimeDate) {
    this.crimeDate = crimeDate;
  }

  public void setComplaintDate(final Date complaintDate) {
    this.complaintDate = complaintDate;
  }

  public void setCrimeLongitude(final double crimeLongitude) {
    this.crimeLongitude = crimeLongitude;
  }

  public void setCrimeLatitude(final double crimeLatitude) {
    this.crimeLatitude = crimeLatitude;
  }

  public void setComplaintLongitude(final double complaintLongitude) {
    this.complaintLongitude = complaintLongitude;
  }

  public void setComplaintLatitude(final double complaintLatitude) {
    this.complaintLatitude = complaintLatitude;
  }

  public void setCategory(final CrimeCategory category) {
    this.category = category;
  }

  public SeguriAppEntity getPoliceStation() {
    return policeStation;
  }

  public void setPoliceStation(final SeguriAppEntity policeStation) {
    this.policeStation = policeStation;
  }

  public int getHour() {
    return hour;
  }

  public void setHour(final int hour) {
    this.hour = hour;
  }

  public int getMinute() {
    return minute;
  }

  public void setMinute(final int minute) {
    this.minute = minute;
  }

  public boolean isMapVisivility() {
    return mapVisivility;
  }

  public void setMapVisivility(final boolean mapVisivility) {
    this.mapVisivility = mapVisivility;
  }

  public boolean isNewComplaint() {
    return newComplaint;
  }

  public void setNewComplaint(final boolean newComplaint) {
    this.newComplaint = newComplaint;
  }

}
